package com.dcsgo.socketPlay.common;

import java.io.Serializable;
import java.util.List;
import java.util.Properties;

/**
 * @author DCSGO
 * @version 1.0
 */
public class Message implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long mesCnt;
    private String mesType;
    private Integer receiveClientId;
    private Properties properties;
    private Ball replaceBall;//用于客户端更新的ball
    private List<Ball> ballList;

    public Long getMesCnt() {
        return mesCnt;
    }

    public void setMesCnt(Long mesCnt) {
        this.mesCnt = mesCnt;
    }

    public void setReplaceBall(Ball replaceBall) {
        this.replaceBall = replaceBall;
    }

    public Ball getReplaceBall() {
        return replaceBall;
    }

    public List<Ball> getBallList() {
        return ballList;
    }

    public void setBallList(List<Ball> ballList) {
        this.ballList = ballList;
    }


    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public String getMesType() {
        return mesType;
    }

    public void setMesType(String mesType) {
        this.mesType = mesType;
    }

    public Integer getReceiveClientId() {
        return receiveClientId;
    }

    public void setReceiveClientId(Integer receiveClientId) {
        this.receiveClientId = receiveClientId;
    }
}
